package www.openteam.com.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * 客户信息
 * Created by kylin on 2016/10/6.
 */

public class QueryCustom {


    /**
     * status : true
     * info : success
     * data : [{"rownumber":"1","id":1,"code":"ZXDZ","name":"中兴电子股份有限公司","type":"01","paytime":"15","moneytype":"01","SendAddress":"","connecter":"","BusinessMan":"系统管理员","CreditNumb":"50000","cTel":""},{"rownumber":"2","id":2,"code":"SCWLJ","name":"四川宜宾五粮酒商贸有限公司","type":"04","paytime":"17","moneytype":"01","SendAddress":"","connecter":"","BusinessMan":"系统管理员","CreditNumb":"50000","cTel":"13652653206"},{"rownumber":"3","id":3,"code":"HDTX","name":"范德萨 范德萨范德萨节快乐健康节","type":"01","paytime":"15","moneytype":"01","SendAddress":"倒萨捷克俄","connecter":"","BusinessMan":"系统管理员","CreditNumb":"65000","cTel":"13656562650"},{"rownumber":"4","id":4,"code":"KHYY","name":"康和药业集团股份有限公司","type":"02","paytime":"09","moneytype":"02","SendAddress":"","connecter":"","BusinessMan":"系统管理员","CreditNumb":"30000","cTel":"13869569230"},{"rownumber":"5","id":5,"code":"GZMTJY","name":"贵州茅台酒业有限公司","type":"04","paytime":"20","moneytype":"02","SendAddress":"","connecter":"","BusinessMan":"系统管理员","CreditNumb":"45000","cTel":"13646503652"},{"rownumber":"6","id":6,"code":"GDQSZY","name":"广东群生制药股份有限公司","type":"02","paytime":"10","moneytype":"02","SendAddress":"","connecter":"","BusinessMan":"业务员","CreditNumb":"40000","cTel":"13569865620"},{"rownumber":"7","id":7,"code":"GDPKYD","name":"广东酷派体育用品有限公司","type":"05","paytime":"09","moneytype":"01","SendAddress":"","connecter":"","BusinessMan":"业务员","CreditNumb":"60000","cTel":"13598653620"},{"rownumber":"8","id":8,"code":"yysm01","name":"卫依思美容品（武汉）有限公司","type":"04","paytime":"09","moneytype":"01","SendAddress":"","connecter":"","BusinessMan":"业务经理","CreditNumb":"60000","cTel":"13569865203"},{"rownumber":"9","id":9,"code":"adna01","name":"安动里奥科技（深圳）有限公司","type":"01","paytime":"20","moneytype":"02","SendAddress":"","connecter":"","BusinessMan":"业务经理","CreditNumb":"100000","cTel":""},{"rownumber":"10","id":10,"code":"XKDZ","name":"先科电子科技有限公司","type":"01","paytime":"12","moneytype":"02","SendAddress":"","connecter":"","BusinessMan":"系统管理员","CreditNumb":"20000","cTel":""}]
     */

    private int status;
    private String info;
    /**
     * rownumber : 1
     * id : 1
     * code : ZXDZ
     * name : 中兴电子股份有限公司
     * type : 01
     * paytime : 15
     * moneytype : 01
     * SendAddress :
     * connecter :
     * BusinessMan : 系统管理员
     * CreditNumb : 50000
     * cTel :
     */

    private List<DataBean> data;

    public int  getStatus(){
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        private String rownumber;
        private int id;
        private String code;
        private String name;
        private String type;
        private String paytime;
        private String moneytype;
        private String SendAddress;
        private String connecter;
        private String BusinessMan;
        private String CreditNumb;
        private String cTel;

        public DataBean(Parcel in) {
            rownumber = in.readString();
            id = in.readInt();
            code = in.readString();
            name = in.readString();
            type = in.readString();
            paytime = in.readString();
            moneytype = in.readString();
            SendAddress = in.readString();
            connecter = in.readString();
            BusinessMan = in.readString();
            CreditNumb = in.readString();
            cTel = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public String getRownumber() {
            return rownumber;
        }

        public void setRownumber(String rownumber) {
            this.rownumber = rownumber;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPaytime() {
            return paytime;
        }

        public void setPaytime(String paytime) {
            this.paytime = paytime;
        }

        public String getMoneytype() {
            return moneytype;
        }

        public void setMoneytype(String moneytype) {
            this.moneytype = moneytype;
        }

        public String getSendAddress() {
            return SendAddress;
        }

        public void setSendAddress(String SendAddress) {
            this.SendAddress = SendAddress;
        }

        public String getConnecter() {
            return connecter;
        }

        public void setConnecter(String connecter) {
            this.connecter = connecter;
        }

        public String getBusinessMan() {
            return BusinessMan;
        }

        public void setBusinessMan(String BusinessMan) {
            this.BusinessMan = BusinessMan;
        }

        public String getCreditNumb() {
            return CreditNumb;
        }

        public void setCreditNumb(String CreditNumb) {
            this.CreditNumb = CreditNumb;
        }

        public String getCTel() {
            return cTel;
        }

        public void setCTel(String cTel) {
            this.cTel = cTel;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "rownumber='" + rownumber + '\'' +
                    ", id=" + id +
                    ", code='" + code + '\'' +
                    ", name='" + name + '\'' +
                    ", type='" + type + '\'' +
                    ", paytime='" + paytime + '\'' +
                    ", moneytype='" + moneytype + '\'' +
                    ", SendAddress='" + SendAddress + '\'' +
                    ", connecter='" + connecter + '\'' +
                    ", BusinessMan='" + BusinessMan + '\'' +
                    ", CreditNumb='" + CreditNumb + '\'' +
                    ", cTel='" + cTel + '\'' +
                    '}';
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(rownumber);
            dest.writeInt(id);
            dest.writeString(code);
            dest.writeString(name);
            dest.writeString(type);
            dest.writeString(paytime);
            dest.writeString(moneytype);
            dest.writeString(SendAddress);
            dest.writeString(connecter);
            dest.writeString(BusinessMan);
            dest.writeString(CreditNumb);
            dest.writeString(cTel);
        }
    }
}
